home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 4 / The Arsenal Files 4 (Arsenal Computer).ISO / casm / au116-as.exe / UTIL / ARC_FILE.CPP < prev    next >
C/C++ Source or Header  |  1994-06-26  |  436b  |  19 lines

  1. #include "..\au.hpp"
  2. /***************************************************************/
  3. STATUS ARC_HANDLE::init(AU *au, char *fileName)
  4. {
  5.     isFirst = TRUE;
  6.     if (open(au, fileName, O_RDONLY | O_BINARY) != SUCCESS)
  7.     {
  8.         type = NONARC;
  9.         return FAILURE;
  10.     }
  11.     get_format(au, fileName);
  12.     return SUCCESS;
  13. }
  14. /*************************************************************************/
  15. void ARC_HANDLE::deinit(AU *)
  16. {
  17.     close();
  18. }
  19.